Skip to content

docs: enhance plugin generation and expression handling#217

Merged
raphael merged 2 commits into
v3from
docs-plugin-improvements
Oct 19, 2025
Merged

docs: enhance plugin generation and expression handling#217
raphael merged 2 commits into
v3from
docs-plugin-improvements

Conversation

@raphael
Copy link
Copy Markdown
Member

@raphael raphael commented Oct 19, 2025

Summary

This PR enhances the documentation plugin with improved generation capabilities and better expression handling.

Changes

  • docs/dsl/docs.go: Improved DSL definitions for enhanced documentation features
  • docs/expr/root.go: Added new expression types and root handling
  • docs/generate.go: Enhanced plugin generation logic with better error handling
  • go.mod & go.sum: Updated dependencies

Impact

  • More robust documentation generation
  • Better error handling in plugin generation
  • Enhanced expression handling capabilities
  • Updated dependencies for improved stability

Testing

The changes maintain backward compatibility while adding new functionality.

- Improve docs plugin generation logic with better error handling
- Add new expression types and root handling in docs/expr
- Update DSL definitions for enhanced documentation features
- Update dependencies in go.mod and go.sum

This commit enhances the documentation plugin with improved generation
capabilities and better expression handling for more robust documentation
generation.
@raphael raphael force-pushed the docs-plugin-improvements branch from 3edda8a to 44d190c Compare October 19, 2025 04:08
Remove the unreachable *goaexpr.ResultTypeExpr case since ResultTypeExpr
implements UserType interface and is already handled by the goaexpr.UserType
case. This fixes the static analysis warning SA4020.
@raphael raphael merged commit 11653fd into v3 Oct 19, 2025
5 checks passed
@raphael raphael deleted the docs-plugin-improvements branch October 19, 2025 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant